import { useEffect } from 'react';

import Apis from '../../../api';

function PagePostHome() {
  useEffect(() => {
    (async () => {
      const result = await Apis.Post.getSubTreeItems(-1);
      alert(JSON.stringify(result, null, '    '));
    })();
  });

  return <div>Post Home Page</div>;
}

export default PagePostHome;
